import axios from 'axios'

const service = axios.create({
baseURL: 'http://api.exam.com/api',
timeout: 30000,
withCredentials: true, // 允许携带cookie
traditional: true, //traditional 为true阻止深度序列化
headers:{
    'contentType':"application/x-www-form-urlencoded",
}
})


export default service